CC=gcc

CFLAGS=-I./inc/ -g
LIBS  = -L/usr/lib/ -lX11
#LIBS  = -L/media/datum/source-code/libx11/libX11-1.1.5/src/.libs  -lX11

vpath %.c main:common:v4l2:gui
objects=main.o uvc_ext_mapping.o window.o v4l2-dev.o privew-ctrl.o common.o
cateye : $(objects)
	cc $(LIBS) -o   cateye  $(objects)

clean: 
	rm cateye *.o

#main.o : main.c 
	#cc $(LIBS) $(CFLAGS) -g  -c main.c

#uvc_ext_mapping.o : uvc_ext_mapping.c
	#cc $(LIBS) $(CFLAGS) -g  -c uvc_ext_mapping.c




